FROM xxxxx.com/devops/openjdk:8u302-jdk-shanghai

MAINTAINER cat.li@harmay.com
ARG BUILD_DIR

ADD ./$BUILD_DIR/target/*.jar /app.jar

EXPOSE 8080

ENTRYPOINT ["java","-Duser.timezone=Asia/Shanghai","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
